package gestionTransportObjetsGenerated;

/**
 * Interface definition : GestionOperateur
 * 
 * @author OpenORB Compiler
 */
public class GestionOperateurPOATie extends GestionOperateurPOA
{

    //
    // Private reference to implementation object
    //
    private GestionOperateurOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public GestionOperateurPOATie(GestionOperateurOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public GestionOperateurPOATie(GestionOperateurOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public GestionOperateurOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(GestionOperateurOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Read accessor for nom attribute
     */
    public String nom()
    {
        return _tie.nom();
    }

    /**
     * Operation informerBesoinTransport
     */
    public void informerBesoinTransport(gestionTransportObjetsGenerated.TransportColis colis)
    {
        _tie.informerBesoinTransport( colis);
    }

    /**
     * Operation accepterTransport
     */
    public String accepterTransport(gestionTransportObjetsGenerated.TransportColis colis)
    {
        return _tie.accepterTransport( colis);
    }

    /**
     * Operation verifierCodeTransport
     */
    public gestionTransportObjetsGenerated.TransportColis verifierCodeTransport(String codeTransp)
    {
        return _tie.verifierCodeTransport( codeTransp);
    }

    /**
     * Operation notifierDepotTransp
     */
    public void notifierDepotTransp(gestionTransportObjetsGenerated.TransportColis colis)
    {
        _tie.notifierDepotTransp( colis);
    }

    /**
     * Operation obtenirStations
     */
    public void obtenirStations(String numEnv, gestionTransportObjetsGenerated.TransportColisHolder colis)
        throws gestionTransportObjetsGenerated.COLIS_INCONNU
    {
        _tie.obtenirStations( numEnv,  colis);
    }

}
